﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Pc_Vision.View_Datalayer
{
    public partial class viewCategorie : System.Web.UI.Page
    {
        public void fn_Cancel(object sender, EventArgs e)
        {

            Response.Redirect("Index.aspx");
        }


        public void fn_SaveCategorie(object sender, EventArgs e)
        {
            Model.Categorie categorie = new Model.Categorie();

            categorie.categorieName = tbCategorieName.Text;
            categorie.categorieDescription = tbCategorieDescription.Text;
            categorie.fn_ReturnCategorie();

        }

        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}